<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/SellAndBuy.Application.Query.DTOs" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/SellAndBuy.Application.Query.DTOs" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfAdDTO">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="AdDTO" nillable="true" type="tns:AdDTO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfAdDTO" nillable="true" type="tns:ArrayOfAdDTO" />
  <xs:complexType name="AdDTO">
    <xs:sequence>
      <xs:element minOccurs="0" name="CreationDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ID" type="xs:int" />
      <xs:element minOccurs="0" name="Owner" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Pictures" nillable="true" type="tns:ArrayOfPictureInfoDTO" />
      <xs:element minOccurs="0" name="Price" type="xs:decimal" />
      <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="AdDTO" nillable="true" type="tns:AdDTO" />
  <xs:complexType name="ArrayOfPictureInfoDTO">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="PictureInfoDTO" nillable="true" type="tns:PictureInfoDTO" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPictureInfoDTO" nillable="true" type="tns:ArrayOfPictureInfoDTO" />
  <xs:complexType name="PictureInfoDTO">
    <xs:sequence>
      <xs:element minOccurs="0" name="FileName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IsMain" type="xs:boolean" />
      <xs:element minOccurs="0" name="Picture" nillable="true" type="xs:base64Binary" />
      <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PictureInfoDTO" nillable="true" type="tns:PictureInfoDTO" />
</xs:schema>